import Me from '@/dll/me'
export default {
  data () {
    return {
    }
  },
  methods: {
    // 取消订单
    async onCancel (item) {
      this.$router.push({
        name: 'orderCancel',
        query: { item: JSON.stringify(item) }
      })
    },
    // 支付订单
    async onPay (item) {
        console.log(item)
      this.$router.push({
        name: 'payIng',
        query: {
          pageFrom: 'order_list'
        },
        params: { orderSn: item.order_info.order_sn }
      })
    }
  }
}
